{"version":3,"sources":["add_page_card.js"],"names":["BX","namespace","Landing","UI","Card","AddPageCard","data","BaseCard","apply","this","arguments","layout","classList","add","cache","Cache","MemoryCache","onSaveHandler","onSave","siteId","icon","create","props","className","text","Loc","getMessage","inner","children","body","appendChild","bind","onLayoutClick","prototype","constructor","__proto__","event","preventDefault","replace","getFormLayout","titleField","getTitleField","setValue","setTimeout","enableEdit","input","focus","remember","saveButton","events","click","onSaveClick","cancelButton","onCancelClick","buttonsContainer","getForm","backend","Backend","getInstance","title","getValue","code","translit","change_case","replace_space","replace_other","createPage","then","result","Field","Text","textOnly","Form","BaseForm","fields"],"mappings":"CAAC,WACA,aAEAA,GAAGC,UAAU,sBAEbD,GAAGE,QAAQC,GAAGC,KAAKC,YAAc,SAASC,GAEzCN,GAAGE,QAAQC,GAAGC,KAAKG,SAASC,MAAMC,KAAMC,WACxCD,KAAKE,OAAOC,UAAUC,IAAI,4BAC1BJ,KAAKK,MAAQ,IAAId,GAAGe,MAAMC,YAC1BP,KAAKQ,cAAgBX,EAAKY,QAAU,aACpCT,KAAKU,OAASb,EAAKa,OAEnB,IAAIC,EAAOpB,GAAGqB,OAAO,QAASC,OAAQC,UAAW,mCACjD,IAAIC,EAAOxB,GAAGqB,OAAO,QACpBC,OAAQC,UAAW,iCACnBC,KAAMxB,GAAGE,QAAQuB,IAAIC,WAAW,uCAEjC,IAAIC,EAAQ3B,GAAGqB,OAAO,OACrBC,OAAQC,UAAW,kCACnBK,UACCR,EACAI,KAIFf,KAAKoB,KAAKC,YAAYH,GAEtB3B,GAAG+B,KAAKtB,KAAKE,OAAQ,QAASF,KAAKuB,cAAcD,KAAKtB,QAIvDT,GAAGE,QAAQC,GAAGC,KAAKC,YAAY4B,WAC9BC,YAAalC,GAAGE,QAAQC,GAAGC,KAAKC,YAChC8B,UAAWnC,GAAGE,QAAQC,GAAGC,KAAKG,SAAS0B,UAKvCD,cAAe,SAASI,GAEvBA,EAAMC,iBAENrC,GAAGsC,QAAQ7B,KAAK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